package inventory.config.database;

import com.baomidou.mybatisplus.entity.GlobalConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MybatisGlobalConfig {
    @Bean
    public GlobalConfiguration addGlobalConfiguration(){
        GlobalConfiguration globalConfiguration = new GlobalConfiguration();
        globalConfiguration.setIdType(3);

        return globalConfiguration;
    }
}
